/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Iconhaoping1: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M516 108l-0.8 4v12c0 0.8 0.8 33.6-5.6 66.4-1.6 9.6-4.8 19.2-7.2 28.8l-3.2 8.8C463.2 336 374.4 420.8 264 448.8l-12 3.2v477.6h578.4c21.6 0 39.2-3.2 53.6-20.8 10.4-12.8 12-32 16-48 5.6-26.4 12-52.8 17.6-80 7.2-33.6 16-68.8 23.2-102.4l22.4-101.6c4-17.6 8.8-36 12-53.6 1.6-8.8 4-17.6 5.6-26.4 1.6-8.8 4.8-17.6 4-26.4 0-4-0.8-6.4-1.6-9.6-0.8-6.4-4-12-6.4-17.6-12.8-20.8-33.6-28-57.6-27.2H616c-16 0-28-12-28-28 0-4.8 0.8-8.8 3.2-12l5.6-11.2c14.4-28.8 25.6-60 32-92.8l1.6-4.8c0.8-3.2 6.4-27.2 6.4-73.6 0-37.6-6.4-71.2-6.4-71.2 0-30.4-25.6-55.2-56.8-55.2-27.2-3.2-51.2 16-57.6 40.8z"
        fill={getIconColor(color, 0, '#FCD953')}
      />
      <path
        d="M830.4 954.4H226.4V431.2l32-7.2c100-25.6 183.2-104 216.8-203.2l4-13.6c2.4-7.2 4-14.4 5.6-20.8 5.6-27.2 5.6-55.2 4.8-60.8v-16l1.6-7.2c9.6-37.6 44-64 83.2-61.6 44 0.8 80 35.2 80.8 78.4 1.6 8.8 6.4 40 6.4 74.4 0 47.2-5.6 75.2-8 81.6l-1.6 4c-6.4 32-17.6 64.8-33.6 96.8l-5.6 12.8c0 1.6 0.8 2.4 2.4 2.4h303.2c34.4-0.8 62.4 12 79.2 39.2l2.4 1.6c3.2 6.4 7.2 13.6 8.8 23.2 0.8 3.2 2.4 8 2.4 14.4 0.8 11.2-1.6 20.8-3.2 29.6l-0.8 4c-0.8 4-1.6 8-2.4 12.8-0.8 4.8-1.6 9.6-3.2 13.6-1.6 8.8-4 18.4-6.4 27.2-2.4 8.8-4 17.6-5.6 26.4l-22.4 101.6c-4 16.8-8 34.4-12 51.2-4 16.8-8 34.4-12 51.2-3.2 15.2-6.4 29.6-9.6 44.8-2.4 12-5.6 23.2-8 35.2l-2.4 9.6c-3.2 15.2-6.4 33.6-18.4 48.8-22.4 25.6-50.4 28.8-74.4 28.8zM277.6 904h552.8c19.2 0 27.2-2.4 33.6-11.2 4.8-5.6 6.4-16.8 8.8-27.2 0.8-4 1.6-7.2 2.4-11.2 2.4-11.2 4.8-23.2 8-35.2 3.2-14.4 6.4-28.8 9.6-44 4-17.6 8-34.4 12-52 4-16.8 8-34.4 12-51.2l22.4-101.6c1.6-8.8 4-17.6 6.4-27.2 2.4-8.8 4-17.6 6.4-26.4 0.8-4.8 1.6-8.8 3.2-13.6 0.8-4.8 1.6-8.8 3.2-12.8l0.8-4.8c0.8-4.8 2.4-10.4 2.4-13.6v-3.2s0-0.8-0.8-1.6l-0.8-2.4v-2.4c0-2.4-1.6-5.6-3.2-8.8-4.8-6.4-12.8-14.4-31.2-14.4H616c-30.4 0-53.6-23.2-53.6-53.6 0-8.8 1.6-16 5.6-24l5.6-11.2c14.4-28.8 24-58.4 29.6-86.4l0.8-2.4 2.4-5.6c0.8-2.4 5.6-24 5.6-64.8 0-34.4-6.4-66.4-6.4-66.4l-0.8-2.4V120c0-16-14.4-30.4-31.2-30.4h-1.6c-14.4-0.8-27.2 8.8-31.2 23.2V122.4c0 8.8 0 40-6.4 72-1.6 8-4 16-6.4 24l-2.4 8-3.2 8.8C485.6 350.4 391.2 440 277.6 471.2V904z"
        fill={getIconColor(color, 1, '#444444')}
      />
      <path
        d="M60.8 459.2v469.6h119.2V458.4z"
        fill={getIconColor(color, 2, '#FCD953')}
      />
      <path
        d="M205.6 953.6H35.2v-520l170.4-1.6v521.6z m-119.2-50.4h68.8V484l-68.8 0.8v418.4z"
        fill={getIconColor(color, 3, '#444444')}
      />
    </svg>
  );
};

Iconhaoping1.defaultProps = {
  size: 18,
};

export default Iconhaoping1;
